package de.urlaub.client.data;

import java.util.ArrayList;
import java.util.HashMap;

import javax.ejb.Local;

@Local
public interface VacationDao {	
	// Employee
	public void persistEmployee(Employee employee);
	public ArrayList<Employee> getEmployees();

	// Division
	public void persistDivision(Division division);
	public Division getDivision(int divisionId);
	
	// Vacation
	public void persistVacation(Vacation vacation);
	public ArrayList<Vacation> getVacations(int state);
	public ArrayList<Vacation> getVacations(Employee employee, int state);
	public Vacation getVacation(int vacationId);
	public void updateVacations(HashMap<Integer, Boolean> changedVacations);
}
